import request from '@/router/axios'

export function fetchList (query) {
  return request({
    url: '/admin/domain/list',
    method: 'get',
    params: query
  })
}

export function fetchAuditList (query) {
  return request({
    url: '/admin/domain/auditList',
    method: 'get',
    params: query
  })
}

export function domainAudit (query) {
  return request({
    url: '/admin/domain/audit',
    method: 'get',
    params: query
  })
}

export function fetchRecordList (query) {
  return request({
    url: '/admin/domain/record',
    method: 'get',
    params: query
  })
}

export function fetchDetail (query) {
  return request({
    url: '/admin/domain/detail',
    method: 'get',
    params: query
  })
}

export function putObj (query) {
  return request({
    url: '/admin/domain/put',
    method: 'post',
    data: query
  })
}


export function del (id) {
  return request({
    url: '/admin/domain/del',
    method: 'get',
    params: {id: id}
  })
}


